package com.crm.system.service.impl.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysPermissionGroup;
import com.crm.service.sys.permissionManagement.SysPermissionGroupDbService;
import com.crm.system.service.permissionManagement.SysPermissionGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ Author ：pym
 * @ Date   ：2020/12/9 22:16
 */
@Service
public class SysPermissionGroupServiceImpl implements SysPermissionGroupService {
    @Autowired
    private SysPermissionGroupDbService sysPermissionGroupDbService;

    @Override
    public Boolean deleteSysPermissionGroupById(String permissionGroupId) {
        return sysPermissionGroupDbService.deleteSysPermissionGroupById(permissionGroupId);
    }

    @Override
    public SysPermissionGroup selectSysPermissionGroupById(String permissionGroupId) {
        return sysPermissionGroupDbService.selectSysPermissionGroupById(permissionGroupId);
    }
}
